from asyncio import sleep

from selenium import webdriver
from selenium.webdriver.common.by import By

Driver=webdriver.Chrome()
url="https://cn.bing.com/"
Driver.get(url)
input_box=Driver.find_element_by_xpath("//input[@id='sb_form_q']")
input_box.send_keys("软件")

input_box.clear()
input_box.send_keys("软件测试")
input_box.submit()
sleep(5)